const seq = require('./seq')

require('./model/index')

seq.authenticate().then(() => {
    console.log('auth ok')
}).catch(() => {
    console.log('auth err')
})

seq.sync({
    force: true, //是否清空表所有数据
}).then(() => {
    console.log('sync ok')
    process.exit()
})